#ifndef WAYPOINT_H_
#define WAYPOINT_H_

#include <string>
using std::string;
#include <iostream>
using std::cout;
using std::endl;

class Waypoint
{
public:
	Waypoint(string cacheName, string cacheDescription, string latitude, string longitude);
	virtual ~Waypoint();

	string getCacheName(void) const
	{
		return cacheName;
	}
	string getLatitude(void) const
	{
		return latitude;
	}
	string getLongitude(void) const
	{
		return longitude;
	}

	string getCacheDesc(bool escapeQuotes) const;

private:

	string& replaceAll(string& context, const string& from, const string& to) const;

private:

	string cacheName;
	string cacheDescription;
	string latitude;
	string longitude;
};

#endif /* WAYPOINT_H_ */
